home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / DA / T / TATTLE154.cpt / TattleTale DA 1.5.4.rsrc / TEXT_-15976_Trap Help.txt < prev    next >
Text File  |  1992-10-08  |  2KB  |  41 lines

  1. Trap Definitions
  2.  
  3. Note: Traps are the mechanism for programmers to access system functions.
  4.         The three different formats for listing traps are all derived from the Traps
  5.            file which is part of MPW.  This file lists the ‚Äúofficial‚Äù Mac traps along
  6.            with the names which they have been assigned.  This list is incomplete for
  7.            two main reasons:  some traps were left out by mistake and some were left
  8.            out on purpose because they are subject to change in the future. Generally,
  9.            this information is only of significant interest to programmers.
  10.  
  11. Unavailable Traps : This lists those ‚Äúofficial‚Äù traps that for various reasons
  12.            are not available on your combination of hardware and software. They are
  13.            listed in the following format:
  14.  
  15. $Trap Number in Hex = _TrapName
  16.  
  17.  
  18. Note:  The [address] listed in the following two formats may either be the
  19.           the original address as shipped by Apple or may represent changes that 
  20.           were made by various INITs, control panels, etc.
  21.  
  22.  
  23. Available Traps (Named): This lists ‚Äúofficial‚Äù traps available to your 
  24.            machine in the following format:
  25.  
  26. $Trap Number in Hex = _TrapName [$Address of trap in hex]
  27.  
  28.  
  29. Available Traps (UnNamed): This lists unofficial but active traps on your
  30.           machine in the format following.  Since some traps point to the same
  31.           code, one can compare the addresses to determine which are duplicates.
  32.           Duplicate is really not the correct term as Traps which point to the
  33.           same code are generally variations of the original trap.  For example,
  34.            _SetFilType shows the same address at $A043, $A243, and $A443.
  35.           This occurs because, in the case of this type of trap, the $A243
  36.           version means to execute the $A043 command immediately, and the 
  37.           $A443 version means to execute the command asynchronously.  
  38.           Different kinds of traps (e.g. Memory, File, Device, etc.) have similar
  39.           variations with different meanings.
  40.  
  41. $Trap Number in Hex  [$Address of trap in hex]